package com.kingsoft.dc.khaos.module.spark.model;

/**
 * Created by jing on 19/4/1.
 */
public class StructFieldEntity {
    private String fieldName;

    private String fieldType;

    private int fieldSize;

    private int decimalDigis;

    public StructFieldEntity(String fieldName, String fieldType) {
        this.fieldName = fieldName;
        this.fieldType = fieldType;
    }

    public StructFieldEntity(String fieldName, String fieldType, int fieldSize, int decimalDigis) {
        this.fieldName = fieldName;
        this.fieldType = fieldType;
        this.fieldSize = fieldSize;
        this.decimalDigis = decimalDigis;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getFieldType() {
        return fieldType;
    }

    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }

    public int getFieldSize() {
        return fieldSize;
    }

    public void setFieldSize(int fieldSize) {
        this.fieldSize = fieldSize;
    }

    public int getDecimalDigis() {
        return decimalDigis;
    }

    public void setDecimalDigis(int decimalDigis) {
        this.decimalDigis = decimalDigis;
    }
}
